package com.pms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pms.dao.ConfigMapper;
import com.pms.domain.Config;
import com.pms.service.ConfigService;

@Service
public class ConfigServiceImpl implements ConfigService{

	@Autowired
	ConfigMapper configMapper;
	
	@Override
	public int getOrderReserveFieldNo() {
	    Config conf = configMapper.getConfig("order_reserve_field_no");
		return Integer.valueOf(conf.getProp_value());
	}
}
